package com.lang.generator.domain.vo;

import com.lang.generator.domain.entity.TableStructure;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

/**
 * 模拟数据签证官
 *
 * @author zhangren
 * @date 2022/12/12
 */
@Data
@ApiModel("模拟数据")
public class MockDataVo {

    @Max(value = 2000,message = "最多生成2000条")
    @NotNull(message = "生成条数不能为空")
    @ApiModelProperty(value = "生成条数",required = true)
    private Integer rowNum;

    @NotNull(message = "表字段数据不能为空")
    @ApiModelProperty(value = "表字段数据",required = true)
    private TableStructure tableStructure;

}
